package com.coolingme.general;

/**
 * 具体观察者：在得到状态更新时，会自动做出响应
 *
 * @author wangyue
 * @date 2020-10-01 23:09
 */
public class ConcreteObserver<E> implements IObserver<E> {
    @Override
    public void update(E event) {
        System.out.println("receive event:" + event);
    }
}
